package com.GlobalPaint.app.Base;
/**
 * Created by Administrator on 2016/6/13.
 */
import org.xutils.http.RequestParams;

public class AppRequestInterface {
    //用户接口
    public static String sUserLoginUrl=AppConfig.JsonUrl + "/user/users/login";
    public enum RequestType {
        Request_UserLogin,//用户登录请求
    };
    public static RequestParams GetRequestPara(RequestType type)
    {
        String RequestPara_Url="";
        switch (type) {
            case Request_UserLogin://用户登录
                RequestPara_Url=sUserLoginUrl;
                break;
            default:
                break;
        }
        if(RequestPara_Url.equals(""))
            return null;
        RequestParams params = new RequestParams(RequestPara_Url);
        return params;
    }
}
